import Vue from "vue";
import VueRouter from "vue-router";

import log from "./utils/log.js";





const search = { template: "<div>search</div>" }
const consult = { template: "<div>consult</div>" }


Vue.use(VueRouter);



const router = new VueRouter({
	routes: [
		{ 
			path: "/", 
			component: r => require.ensure([], () => r(require("./page/index/home/home")), "page/home")
		},
		{ 
			path: "/AnutList", 
			component: r => require.ensure([], () => r(require("./page/index/AnutList/")), "page/AnutList"),
		},
		{ 
			path: "/my", 
			component: r => require.ensure([], () => r(require("./page/index/my/")), "page/my"),
		},
		{ 
			path: "/consult",
			component: consult 
		},

		{ 
			path: "/myIndent",
			component: r => require.ensure([], () => r(require("./page/my/myIndent")), "page/my/myIndent") 
		},
		{ 
			path: "/myAunt",
			component: r => require.ensure([], () => r(require("./page/my/myAunt")), "page/my/myAunt") 
		},
		{ 
			path: "/problemFeedback",
			component: r => require.ensure([], () => r(require("./page/my/problemFeedback")), "page/my/problemFeedback") 
		},
		{ 
			path: "/logoin",
			component: r => require.ensure([], () => r(require("./page/my/logoin")), "page/home/logoin") 
		},
		{ 
			path: "/serviceAssurance",
			component: r => require.ensure([], () => r(require("./page/home/serviceAssurance")), "page/home/serviceAssurance") 
		},
		{ 
			path: "/postpartumServer",
			component: r => require.ensure([], () => r(require("./page/home/postpartumServer")), "page/home/postpartumServer") 
		},
		{ 
			path: "/answerQuestions",
			component: r => require.ensure([], () => r(require("./page/home/answerQuestions")), "page/home/answerQuestions") 
		}



		



	]
})


export default router;